import request from '@/utils/request'

export function getBannerList(data){
    return request({
      url:'/bannerlist',
      method:'get',
      params:data
   });
}

export function editBanner(data){
    return request({
      url:'/editbanner',
      method:'post',
      data:qs.stringify(data)
   });
}

export function getBannerInfo(data){
    return request({
      url:'/bannerinfo',
      method:'get',
      params:data
   });
}

export function delBanner(data){
    return request({
      url:'/delbanner',
      method:'get',
      params:data
   });
}

export function getAllBannerType(data){
    return request({
      url:'/allbannertype',
      method:'get',
      params:data
   });
}
